﻿import request from '@/utils/request';
// list
export const fangkexinxiList = (params) => {
    return request({
        url: '/fangkexinxi/page',
        method: 'post',
        data: params,
    })
};
export const fangkexinxiDetail = (id) => {
    return request({
        url: '/fangkexinxi/'+id,
        method: 'get',
    })
};
// add
export const fangkexinxiSave = (params) => {
    return request({
        url: '/fangkexinxi',
        method: 'post',
        data: params,
    })
};
// updt
export const fangkexinxiEdit = (params) => {
    return request({
        url: '/fangkexinxi',
        method: 'put',
        data: params,
    })
};
// delete
export const fangkexinxiDelete = (id) => {
    return request({
        url: '/fangkexinxi/'+id,
        method: 'delete',
    })
};
// pldel
export const fangkexinxiDeleteList = (fangkexinxis) => {
    return request({
        url: '/fangkexinxi/deleteList',
        data:{list:fangkexinxis},
        method: 'post',
    })
};
// all
export const fangkexinxiAllList = () => {
    return request({
        url: '/fangkexinxi',
        method: 'get',
    })
};

